﻿#ifndef SERIALNMODBUS_H
#define SERIALNMODBUS_H
#include <QObject>
#include <QJsonObject>
#include "basemodbus.h"

class ModbusRtu:public BaseModbus
{
    Q_OBJECT
public:
     Q_INVOKABLE explicit ModbusRtu(QObject *parent=nullptr);
     virtual ~ModbusRtu();

signals:

public slots:

    // BaseItem interface
public:
    virtual void setConfig(QJsonObject obj) override;
    virtual QWidget *getConfigWidget() override;
};

#endif // SERIALNMODBUS_H
